<div class="board-list-empty" style="display:none;color:#999;font-size:.75rem;margin:.5rem;text-align: center;">
			<i class="icon icon-comments" style="font-size:4rem;color:#ccc;"></i> <br/>暂时没有任何话题
		</div>     
		<div ng-repeat="(k,row) in pagedata.list" class="fui-card fui-card-list fui-card-full post-card sns-card-list">
			<a class='fui-card-info' style="margin-bottom:0.3rem" data-nocache='true' ng-click="access_json('/post.index//id='+row.id)" >
				<div class='image'>
					<img ng-src="{{tomedia(row.avatar) || '../core/resource/images/nopic.jpg'}}"  />
				</div>
				<div class="text">
					<span class="title" style="height:1rem">{{row.nickname}}</span>
					<span class="subtitle" style="font-size:0.5rem;padding-top:0.1rem">发表 {{row.createtime}}</span>
				</div>
			</a>
			<a class="fui-card-content" data-nocache='true' ng-click="access_json('/post.index//id='+row.id)" >
				<b ng-if="row.title!=''" class="fui-card-content-title">
				   <span ng-if="row.isbest==1 || row.isboardbest==1" class="fui-label fui-label-warning">精</span>
					{{row.title}}
				</b>
				<div class="sns-content-info" ng-bind-html='trust(row.content)'></div>
				<div ng-if="row.images.length>0" class="fui-card-images" style="padding:0">         
					<div ng-if="row.imagecount>row.images.length" class="num"><i class="icon icon-pic"></i> {{row.imagecount}}</div>
					<img ng-repeat="img in row.images" style="background-image:url('{{img}}');width:{{row.imagewidth}}" />
				</div>
			</a>
			<div class='fui-card-btns'  style=" padding: .3rem .5rem;">
				<a data-nocache='true' ng-click="access_json('/post.index//id='+row.id)" ><i class="icon icon-comments"></i> ({{row.postcount}})</a>       
				<a ng-show="row.follow!=1" ng-click='pagedata.good(k,row.id)'><i id='i{{k}}'  class="icon icon-good"></i> (<span>{{row.goodcount}}</span>)</a>
				<a ng-show="row.follow==1" ng-click='pagedata.good(k,row.id)'><i id='i{{k}}' style="color:red" class="icon icon-good"></i> (<span>{{row.goodcount}}</span>)</a>			   
				<a data-nocache='true' ng-click="access_json('/post.index/complain/id='+row.id)" ><i class="icon icon-warning"></i>  <span>投诉</span></a>
			</div>
		</div>
<script language='javascript'>
scope.pagedata.follow=function(){
//console.log('lat_lng');console.log(lat_lng);
		var params = {
					'plugin':'jy_sns',
					'action':'board.index',
					'op':'follow',
					'data':{
						'id':scope.pagedata.board.id,
						
					},
					'callback':function(data){
							
					}
		}
		scope.post_json(params);
}

scope.pagedata.good=function(k,id){
		var params = {
					'plugin':'jy_sns',
					'action':'board.index',
					'op':'good',
					'data':{
						'id':id,
						
					},
					'callback':function(data){
						if(data=='jia'){
							scope.pagedata.list[k].goodcount=parseInt(scope.pagedata.list[k].goodcount)+1;
							
							$("#i"+k).css("color","red")				
						}
						if(data=='jian'){
							scope.pagedata.list[k].goodcount=parseInt(scope.pagedata.list[k].goodcount)-1;	
							scope.pagedata.list[k].follow=0;
							$("#i"+k).css("color","")	
							
						}
						scope.$apply();
					}
		}
		scope.post_json(params);
}
</script>